package com.sy.mapper;

import com.sy.bean.WarehouseGoods;
import com.sy.bean.pucharse.PurchaseDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WarehouseGoodsMapper {
    /**
     * 批量保存仓库库存信息
     * @param goodsId 商品id
     * @param warehouseGoodsList 商品仓库库存明细
     * @return 行数
     */
    int batchSave(@Param("goodsId") int goodsId, @Param("warehouseGoodsList") List<WarehouseGoods> warehouseGoodsList);
}
